Added test case to assert all object types finalize properly.
authorTristan Van Berkom <tristanvb@openismus.com>
Fri, 5 Apr 2013 07:32:56 +0000 (16:32 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Fri, 5 Apr 2013 11:14:38 +0000 (20:14 +0900)
commit33b9865651a81a041751750dc11579a9a35918fa
treeeb233637c38bcc889b7c4b68042bde00a82cd3b5
parent086789d01508ad1c96b0d94935095022193dd1a8
Added test case to assert all object types finalize properly.

The test case uses a weak ref to assert objects can finalize,
and then spins the main loop shortly after finalizing to assert
that the finalized object did not leak GSources into the main context
causing latent crashes.
gtk/tests/Makefile.am
gtk/tests/objects-finalize.c [new file with mode: 0644]